﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _02PerimeterAndAreaOfCircle
{
    class _02PerimeterAndAreaOfCircle
    {
        static void Main(string[] args)
        {
            Console.Write("Enter the value of the radius:");
            double radius = double.Parse(Console.ReadLine());
            double perimeter = 2 * Math.PI * radius;
            double area = Math.PI * Math.Pow(radius, 2);
            Console.WriteLine("The area of the circle is {0:0.00} and its perimeter is {1:0.00}.", area, perimeter);

        }
    }
}
